﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddName.aspx.cs" Inherits="SJZD_AddName" %>
<html>
<head id="Head1" runat="server">
    <title>添加商品名称</title>
 <link href="../css/adminCss.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="../js/submit.js"></script>
    <script type="text/javascript">
 
         function dispAdd()
     {
        document.getElementById("flag").style.display="none";
     }
    </script>
</head>
<body style="text-align: center">
    <form id="form1" runat="server" >
           <table width="99%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
    <td width="31" height="22"><img src="../images/module.gif" width="20" height="22"></td>
    <td style="width: 310px; text-align: left;">
        &nbsp;<asp:Label ID="lblwz" runat="server"></asp:Label></td>
    <td width="990" align="right"> <font color="red"> [ <a href="javascript:location.href=document.referrer;" ><font color="red">返回</font></a> ]</font>
        &nbsp;</td>
  </tr>
</table>
<table width="99%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#3CB6E5" height="5px"></td>
  </tr>
</table>
        <div>
            
            <table cellpadding="1" cellspacing="1" class="tabGg" width="99%">
                <tr>
                    <th bgcolor="#FFFFFF" class="r_bg">
                        商品类型：
                    </th>
                    <td align="left"  bgcolor="#FFFFFF" class="right_bg" colspan="3">
                        <asp:DropDownList ID="ddlType" runat="server" Width="125px" OnSelectedIndexChanged="ddlType_SelectedIndexChanged" AutoPostBack="True">
                        </asp:DropDownList></td>
                </tr>
                 <tr>
                    <th bgcolor="#FFFFFF" class="r_bg">
                        商品品牌：
                    </th>
                    <td align="left"  bgcolor="#FFFFFF" class="right_bg" colspan="3">
                        <asp:DropDownList ID="ddlBrand" runat="server" Width="125px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <th bgcolor="#FFFFFF" class="r_bg">
                        商品名称：</th>
                    <td align="left"  bgcolor="#FFFFFF" class="right_bg" colspan="3">
                        <asp:TextBox ID="txtName" runat="server" CssClass="input1" check_null="商品名称不能为空"></asp:TextBox></td>
                </tr>
                <tr>
                    <th bgcolor="#ffffff" class="r_bg">
                        名称编号：</th>
                    <td align="left" bgcolor="#ffffff" class="right_bg" colspan="3">
                        <asp:TextBox ID="txtbh" runat="server" CssClass="input1"></asp:TextBox></td>
                </tr>
                <tr>
                    <th bgcolor="#FFFFFF" class="r_bg">
                        商品名称排序：</th>
                    <td align="left"  bgcolor="#FFFFFF" class="right_bg" colspan="3">
                        <asp:TextBox ID="nameOrder" runat="server" CssClass="input1" Text="0"></asp:TextBox></td>
                </tr>
                <tr id="flag">
                    <th bgcolor="#FFFFFF" class="r_bg" >
                        审核：</th>
                    <td align="left" bgcolor="#FFFFFF" class="right_bg" colspan="3" >
                        &nbsp;<asp:RadioButton ID="rbtnFlag" runat="server" ForeColor="Red" GroupName="flag"
                            Text="通过" Checked="True" />
                        <asp:RadioButton ID="rbtnnotFlag" runat="server" ForeColor="Red" Text="不通过" GroupName="flag"  /></td>
                </tr>
                <tr>
                    <th bgcolor="#ffffff" class="r_bg" style="width: 167px">
                        操作人员：</th>
                    <td width="290" bgcolor="#ffffff" class="right_bg" style="text-align: left">
                        <asp:Label ID="lblUser" runat="server"></asp:Label></td>
                    <td width="124" bgcolor="#ffffff" class="r_bg">&nbsp;操作时间：</td>
                    <td width="389" bgcolor="#ffffff" class="right_bg" style="text-align: left">&nbsp;<asp:Label ID="lblTime" runat="server"></asp:Label></td>
                </tr>
                <tr>
                    <th bgcolor="#FFFFFF" class="r_bg" style="width: 167px" >                    </th>
                    <td colspan="3" bgcolor="#FFFFFF" class="right_bg" style="text-align: left">
                  <asp:Button ID="btnSave" runat="server" CssClass="submit" Text=" 提交 " OnClick="btnSave_Click" OnClientClick="return checknull(this.form)" /></td>
                </tr>
            </table>
            <br />
           
            &nbsp; &nbsp;
            
            <p><asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label></p>
            <asp:HiddenField ID="hidId" runat="server" />
            <asp:HiddenField ID="hidId1" runat="server" />
            <asp:HiddenField ID="hidId2" runat="server" />
             <asp:HiddenField ID="hidmodie" runat="server" />
        </div>
    </form>
</body>
</html>
